Setup and Installation
Smart Integration Connector Setup Overview
You must set up Smart Integration Connector in this order:
-
Install the OneStream Smart Integration Connector Local Gateway Server (OneStreamSmartIntegrationConnectorGateway.msi) on a Windows Server 2019+ in your environment.
-
Create a gateway in the OneStream Windows application to connect OneStream Cloud instance to a Local Gateway on the Local Gateway Server.
-
Export the gateway configuration and import this configuration to the Gateway Settings in the OneStream Local Gateway Configuration.
-
For Database Connection gateways, to allow connections to local databases:
-
Define a Local Gateway connection including Data Sources through the OneStream Local Gateway Configuration.
-
Test any configured Data Sources to confirm they are communicating properly.
NOTE: Testing direct connections may involve building test business rules to perform proper validation.
-
Define a custom database connection in the OneStream System Configuration Setup.
-
When installation is complete, you can access remote data sources using business rules, member formulas, or dashboard data adapters in OneStream through the Smart Integration Connector.
Gateway Terms
The Smart Integration fields define the gateway. You can find more information about this below.
Term | Definition |
---|---|
Relay Name | Refers to the internal namespace of the relay service that is responsible for managing the data flow for all defined Gateways. For example, arn-mysite.servicebus.windows.net. |
IPv4 Whitelist | Contains the list of IPs or CIDR addresses that are allowed to transfer data through Smart Integration Connector. |
Name |
The name of the gateway. Gateway names are completely arbitrary and typically refer to the region (North East) or data source such as (SAP). The gateway name cannot be changed once created, and they must be unique across all environments—both development and production. You can delete an existing gateway and recreate it with a new name. |
Description | Text describing the role and purpose for the gateway and the data sources to which it is connecting. |
Gateway Server Name | Use for display and organizational purposes only. This is the name of the gateway server associated with the gateway. You can select an existing gateway server or enter a new one. |
Web API Key (Database Connections only) |
This is an editable field. You can change your key as needed. If changed, it must also be changed in the Smart Integration Connector Local Gateway Server. It is designed to offer an additional layer of protection within your network when invoking APIs embedded in the Smart Integration Connector Local Gateway Server. The purpose of the Web API Key is to give you full control on who can access the data sources in your network. |
Gateway Key | This is the cloud key used to authenticate the Smart Integration Connector gateway to the customer OneStream environment. This key can be rotated in the OneStream application by Smart Integration Connector Gateway administrators and must be the same in both the remote Gateway service and in OneStream. |
Status | Value will be Online if the local gateway is running and returning heartbeat messages back to OneStream. If the Smart Integration Connector Local Gateway Server is unavailable, stopped, or network connectivity is interrupted, it will display Offline. |
Status Indicators |
Status indicators in the list of gateways provide a visual indication of the Gateway status.
|
Instance Count |
Displays the number of active gateways. Up to five active gateways per environment are supported. This can be increased by contacting Support. |
Version (Database Connections Only) |
Displays the Smart Integration Connector Local Gateway Server version. This version may be different from the deployed version of OneStream and allows administrators to observe and monitor versions of Smart Integration Connector Gateway software deployed. |
Active Local Gateway Server Computer Name (Database Connections Only) |
Displays the computer name of the first Local Gateway Server that connected to the Relay. |
Bound Port at Gateway | Remote port bound to Gateway endpoint. Database Connection Gateways default to 20433 and should not be changed without consulting support. Direct Connection Gateways allow any port running on a remote host to be used. This port represents the well-known TCP service to expose from an on-premises host such as sFTP, which would equate to port 22. |
Remote Gateway Host (Direct Connections Only) |
Remote port host to Gateway Server. Used if surfacing an endpoint such as an SFTP Server. This could be the hostname or IP address on the network that the Gateway Server resides in. For example: 172.168.4.7 or sftp.mycompany.com |
Bound Port in OneStream (Direct Connections Only) |
This is a customer defined port that can be referenced in data management or business rules to directly access services such as sFTP and WebAPI. This must be a globally unique port in a OneStream deployment environment per direct connection and should be a TCP port number > 1024 and <65535. When creating the gateway, use -1 and OneStream will automatically assign an open port. |
Gateway failures reporting interval (min) | Minutes to wait between reporting gateway failures into the OneStream Error Log. The default is five minutes and the max is 1440 minutes. If a gateway is unreachable, an item is put in the error log using this interval value in minutes and the minutes can be adjusted. |
Local Gateway Server Installation
Smart Integration Connector is available in OneStream from the System > Administration tab.
-
Download the Smart Integration Connector installer (OneStream_Connector_#.#.#.zip) file from the Platform section of the Solution Exchange.
-
Copy the Smart Integration Connector Local Gateway Server installer to a Windows Server within your environment.
-
Run the installer as an administrator. Accept all the default prompts. When completed, the Local Gateway Server will be installed on your Windows Server.
IMPORTANT: If you are upgrading, you must follow steps 4-7.
-
Run the OneStream Local Gateway Configuration Utility.
-
The XFGatewayConfiguration.xml file will open by default.
IMPORTANT: Do not change the name of the XFGatewayConfiguration.xml file. The OneStream Smart Integration Connector Gateway Service only references this XFGatewayConfiguration.xml file upon start-up. The Save As functionality is used to create a backup of the file. It is best practice not to rename, move, or change the location of the XFGatewayConfiguration.xml file. If the configuration file has to be opened from another location, then it will need to be opened from this other location again after the upgrade.
-
Save the configuration file.
-
Follow the dialog prompts and restart the service.
Create a Database Connection Gateway
Database Connection Gateways are used to connect OneStream to the Smart Integration Connector Local Gateway Server over the Azure Relay. At least one Database Connection Gateway is required for Smart Integration Connector to function properly. After the gateway is created, you will need to copy the configuration to the Smart Integration Connector Local Gateway Server using the OneStream Local Gateway Configuration.
NOTE: For descriptions of the fields in this procedure, see Gateway Terms.
To create a Database Connection Gateway:
-
Go to System > Administration > Smart Integration Connector.
-
Click Create New Gateway.
-
Enter the Name and Description.
NOTE: The Gateway name cannot be changed once created and must be deleted and re-created.
-
Select the Gateway Server from the drop-down, or enter a new Gateway Server name in the same field. If this is the first Gateway being created, enter the name of the Gateway Server.
NOTE: It is common practice to use the hostname or IP of your Smart Integration Connector Local Gateway Server as the "Gateway Server" name. The Gateway Server name is only used to organize servers when multiple Smart Integration Connector servers are set up.
-
From Connection Type, select Database Connection.
NOTE: Each Gateway Server will only have one Database Connection and as such we recommend naming it "Database_Gateway_" followed by the name used for "Gateway Server." This will differentiate the Database Connection Gateways in future steps.
-
The Web API Key is used as an additional layer of security when communicating with the Smart Integration Connector Local Gateway Server internal APIs.
NOTE: WebAPI keys are not required, but are best practice to enhance security and can be modified or added at any time. The Local Gateway Service introduces a WebAPI exposed only to OneStream and bound only to localhost on the server it is deployed to. This WebAPI is inaccessible on the remote network. If the Local Gateway Service is bound to other network interfaces, it is suggested to use the WebAPI as a mechanism to enhance security on the remote network preventing unauthorized use of OneStream WebAPIs.
-
Copy the configuration to the Smart Integration Connector Local Gateway Server using the OneStream Local Gateway Configuration. For details, see Export and Import the Gateway Configuration.
Create a Direct Connection Gateway (Optional)
A Direct Connection Gateway is a point-to-point channel to a specific remote network resource such as an sFTP server or Web API (including iPaaS services).
NOTE: At least one database connection is required to use a Direct Connection Gateway. The Database Connection Gateway because the database connection is used to monitor the availability of the remote Smart Integration Connector Gateway server.
The existence of a database connection does not necessarily mean it must be used or configured to a data source if only Direct Connections are desired.
NOTE: For descriptions of the fields in this procedure, see Gateway Terms.
To create a direct connection:
-
(Required) A Database Connection Gateway must be created before the Direct Connection Gateway is created. The Database Connection Gateway is used to monitor the availability of the remote Smart Integration Connector Gateway server. For details, refer to Create a Database Connection Gateway.
-
Go to System > Administration > Smart Integration Connector.
-
Click Create New Gateway.
-
Enter the Name and Description.
NOTE: The Gateway name cannot be changed once created and must be deleted and re-created.
-
Select the Gateway Server from the drop-down, or enter a new Gateway Server name in the same field. If this is the first Gateway being created, enter the name of the Gateway Server.
NOTE: It is common practice to use the hostname or IP of your Smart Integration Connector Local Gateway Server as the "Gateway Server" name. The Gateway Server name is only used to organize servers when multiple Smart Integration Connector servers are set up.
-
From Connection Type, select Direct Connection (e.g, SFTP, WebAPI).
-
Enter the Bound Port at Gateway. This port represents the well-known TCP service to expose from an on-premises host such as SFTP, which would equate to port 22.
NOTE: The remote service port is required to configure the connection and may require consultation with network or IT resources to obtain it. It is also required that any firewalls between the Local Gateway Server and the remote host allow traffic to the destination port specified.
-
Enter the Remote Gateway Host (for example, localhost). This represents the remote host name or IP address accessible by the OneStream Smart Integration Connector Local Gateway Server. If the host or IP address is accessible or resolvable from the OneStream Smart Integration Connector Gateway service or using remote resources accessible through on-premises WAN, it can be exposed for use.
-
Enter a Bound Port in OneStream. It is a best practice to use -1 for this value as the OneStream application servers will locate an unused and available port to map to this connection. This port number must be globally unique across all application servers in a OneStream deployment, and care should be taken if a port is specified. This is the port that is used to access the remote host through business rules and data management jobs from OneStream application servers to allow network traffic to traverse to the remote host and port.
-
Using this direct connection in OneStream is done by accessing localhost: [Bound Port In OneStream] which will tunnel traffic back to the configured remote Gateway Host to the configured bound port at gateway.
-
Example: Remote SFTP server at 172.168.3.4 listening on port 22.
-
Bound Port in OneStream is configured as port 45000. Note that when -1 is used, the selected port number is available/displayed after saving and also surfaced in the OneStream Error Log.
-
In OneStream Business Rules, you can access the remote host by connecting to localhost:45000.
-
In a OneStream Business Rule, this port can also be obtained in code allowing this port number to be changed without updating Business Rules:
CopyDim gatewayDetails As GatewayDetails = BRApi.Utilities.GetGatewayConnectionInfo(si, "northamerica_sftp")
Dim remotePort = gatewayDetails.OneStreamPortNumber
-
Export and Import the Gateway Configuration
You must copy the gateway configuration settings and paste them into your Smart Integration Connector Gateway to establish the connection.
-
Go to System > Administration > Smart Integration Connector.
-
Select the Gateway to export.
-
Click Export Gateway Configuration. The Gateway Configuration Details are copied to the clipboard.
-
On your Windows Server, open the OneStream Local Gateway Configuration. This runs as administrator by default.
-
The existing XFGatewayConfiguration.xml opens by default.
-
Click next to Local Gateway Settings.
-
Click next to Local Gateways.
-
Import the previously copied Gateway Configuration.
-
Click Apply.
-
Click Test Connection to test the connection.
-
Click OK twice.
-
Save the configuration.
-
Click Yes to apply the changes and restart the Local Gateway Server.
New Gateway Key Generation
Smart Integration Connector administrators can rotate the Gateway Key maintained by the underlying cloud service; however, it must be the same for both the Smart Integration Connector local gateway and the gateway configuration in the OneStream Windows Application to function properly.
-
Select an existing gateway.
-
Click Regenerate Gateway Key for Selected Gateway.
-
You must re-export your Gateway Configuration and apply the new settings throughout the OneStream Local Gateway Configuration. See Export and Import the Gateway Configuration.
-
Click OK.
Connect a Local Gateway to a Data Source
A data source contains the name, connection string, and database provider for the database of your choice. You can set up a PostgreSQL, SQL, Oracle, OleDb, MySQL, ODP.net, or Microsoft ODBC connection. The data source is configured using the Local Gateway Configuration Utility. The utility was installed as part of the Smart Integration Connector Local Gateway installation.
-
Start the OneStream Local Gateway Configuration.
-
The existing XFGatewayConfiguration.xml opens by default.
-
Click to configure Local Gateway Connections details to set up the Data Sources to local databases, APIs, or other on-premises resources.
-
Click next to Data Sources.
-
Click Add Item to add a new data source.
-
If you have a password for the connection string, enter it in the Connection String Password field. The password is masked for security. Then, when you need to enter your connection string password, use the substitution variable: |password|
Example:
Data Source=localhost;Initial Catalog=Sales_DB;Persist Security Info=True;User ID=sa;Password=|password|; -
Enter the Data Source Name, Connection String, and select a Database Provider.
NOTE: For security purposes, we recommend using the Connection String Password field and the substitution variable to ensure the password is not shown on screen. However, you can also embed the password directly within your connection string. For example: Server = localhost;Port=3306;uid=root;pwd=my_password;database=gatewaymysql;.
You can add as many data sources as necessary. The Data Source Name must be unique for each connection defined within a specific OneStream Smart Integration Connector Local Gateway Server. Names can be re-used across deployed instances of the Windows Service across your network. See below for connection string examples to a variety of relational data sources such as PostgreSQL, SQL, and ODBC, and Oracle. Connection Strings are encrypted automatically. You can edit the plain text string by clicking the ellipsis.
NOTE: Oracle databases require drivers and specific configuration provided by Oracle.
-
Click OK to save your configuration.
IMPORTANT: The connection strings below include user IDs and the password substitution variable. You can also use integrated security to remove plain text user IDs and passwords from connection strings in Smart Integration Connector. See Remove UserID and Passwords by Integrated Security.
Microsoft SQL Server
Below is an example for setting up a SQL database using the SqlClient provider.
-
Click next to Data Sources.
-
Click Add Item to add the data source.
-
Data Source Name: Northeast_Sales
-
Connection String:
with UserID / Password:
Server=localhost;Initial Catalog=Sales_DB;User ID=sa;Password=|password|;Max Pool Size=1000;Connect Timeout=60; -
Enter your Connection String Password.
NOTE: For security purposes, we recommend using the Connection String Password field and the substitution variable to ensure the password is not shown on screen. However, you can also embed the password directly within your connection string. For example: Server = localhost;Port=3306;uid=root;pwd=my_password;database=gatewaymysql;.
-
From Database Provider, select SqlClient Data Provider.
-
Click Test Connection to test the data source.
-
Click OK to save.
MySQL Data Provider
Below is an example for setting up a MySQL Data Provider.
-
Click next to Data Sources.
-
Click Add Item to add a new data source.
-
Data Source Name: Sales_UK
-
Connection String:
Server = localhost;Port=3306;uid=root;pwd=|password|;database=gatewaymysql; -
Enter your Connection String Password.
NOTE: For security purposes, we recommend using the Connection String Password field and the substitution variable to ensure the password is not shown on screen. However, you can also embed the password directly within your connection string. For example: Server = localhost;Port=3306;uid=root;pwd=my_password;database=gatewaymysql;.
-
From Database Provider, select MySQL Data Provider.
-
Click Test Connection to test the data source.
-
Click OK to save.
Oracle Database Examples
Connecting to Oracle requires the download and configuration of the Oracle Data Access Components (ODAC) obtained directly from Oracle’s website. Follow the steps below to get access to these drivers and files.
-
Go to the latest web page for Oracle .NET and Visual Studio ODAC Downloads for Oracle Database.
-
After installation, the ODP.NET Provider will display as an available Database Provider in the utility when adding a new data source.
-
The connection string for Oracle databases can be set up to either reference or require a locally defined tnsnames.ora file for the requested data sources.
Example Connection Strings:
-
Oracle Data Provider for .NET: Data Source=oracletest;User Id=OneStream1;Password=|password|;
-
Oracle Data Provider without TNSNames.ora: Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID))); User Id=myUsername;Password=|password|;
OracleClient Database Provider
Below is an example for setting up a OracleClient database provider.
-
Click next to Data Sources.
-
Click Add Item to add the data source.
-
Data Source Name: Sales_EMEA
-
Connection String: Data Source=oracletest;User Id=OneStream1;Password=|password|
-
Enter your Connection String Password.
NOTE: For security purposes, we recommend using the Connection String Password field and the substitution variable to ensure the password is not shown on screen. However, you can also embed the password directly within your connection string. For example: Server = localhost;Port=3306;uid=root;pwd=my_password;database=gatewaymysql;.
-
From Database Provider, select OracleClient Data Provider.
-
Click Test Connection to test the data source.
-
Click OK to save.
Oracle Data Provider for .NET
Below is an example for setting up a Oracle Data Provider for .NET.
-
Click next to Data Sources.
-
Data Source Name: Sales_SouthAmerica
-
Connection String:
Data Source=oracletest;User Id=OneStream1;Password=|password| -
Enter your Connection String Password.
NOTE: For security purposes, we recommend using the Connection String Password field and the substitution variable to ensure the password is not shown on screen. However, you can also embed the password directly within your connection string. For example: Server = localhost;Port=3306;uid=root;pwd=my_password;database=gatewaymysql;.
-
From Database Provider, select Oracle Data Provider for .NET.
-
Click Add Item to add a new data source.
-
Click Test Connection to test the data source.
-
Click OK to save.
PostgreSQL (Npgsql Data Provider)
Below is an example for setting up a PostGres database.
-
Click next to Data Sources.
-
Click Add Item to add the data source.
-
Data Source Name: RevenueMgmtPostGres
-
Connection String: Server=localhost;Port=5432;Database=revmgt;User Id=onestream;Password=|password|;
-
Enter your Connection String Password.
NOTE: For security purposes, we recommend using the Connection String Password field and the substitution variable to ensure the password is not shown on screen. However, you can also embed the password directly within your connection string. For example: Server = localhost;Port=3306;uid=root;pwd=my_password;database=gatewaymysql;.
-
From Database Provider, select Npgsql Data Provider.
-
Click Test Connection to test the data source.
-
Click OK to save.
OleDb Data Provider
Below is an example for setting up an Oracle database. This does not require additional download and configurations.
-
Click next to Data Sources.
-
Click Add Item to add the data source.
-
Data Source Name: Sales_Asia
-
Connection String: Provider=OraOLEDB.Oracle;Data Source=localhost:1521/XE;Initial Catalog=myDataBase;User Id=myUsername;Password=|password|;
(missing or bad snippet) -
Enter your Connection String Password.
NOTE: For security purposes, we recommend using the Connection String Password field and the substitution variable to ensure the password is not shown on screen. However, you can also embed the password directly within your connection string. For example: Server = localhost;Port=3306;uid=root;pwd=my_password;database=gatewaymysql;.
-
From Database Provider, select OleDb Data Provider.
-
Click Test Connection to test the data source.
-
Click OK to save.
ODBC Data Provider
ODBC data sources can be defined (using a system DSN) to remove credentials from the configuration file. For ODBC connections, most ODBC drivers will allow you to set up a system DSN entry on the server, then the connection string in the gateway will be to only point to the DSN entry. See Administer ODBC data sources for more information. Below is an example for setting up an ODBC data source for Oracle.
-
Click next to Data Sources.
-
Click Add Item to add the data source.
- Data Source Name: Sales_Europe
-
Connection String: Driver={Microsoft ODBC for Oracle};Server=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=199.199.199.199)(PORT=1523))(CONNECT_DATA=(SID=dbName)));Uid=myUsername;Pwd=|password|;
-
Enter your Connection String Password.
NOTE: For security purposes, we recommend using the Connection String Password field and the substitution variable to ensure the password is not shown on screen. However, you can also embed the password directly within your connection string. For example: Server = localhost;Port=3306;uid=root;pwd=my_password;database=gatewaymysql;.
-
From Database Provider , select Odbc Data Provider.
-
Click Test Connection to test the data source.
-
Click OK to create the new source.
-
Click Save.
(Optional) Remove UserID and Passwords by Integrated Security
You can remove UserIDs and Passwords from connection strings in Smart Integration Connector if your organization has concerns over credential storage in the Smart Integration Connector Gateway configuration file. This requires running the Windows Service under a Service Account identity and using integrated security to connect to remote data sources, which eliminates local storage of any plain text credentials. Additionally, ODBC data sources can be defined (using a system DSN) to remove credentials from the configuration file.
Update the Local Gateway Connection String
-
Open your OneStream Local Gateway Configuration.
-
Open a Local Gateway Connection.
-
Navigate to the Connection String and use an Integrated or Trusted Security string. For example: Data Source=localhost,Initial Catalog=OneStream_GolfStreamDemo_2022;Trusted_Connection=True;
NOTE: Trusted Connections use the UserID and password you use to log into the Windows Server.
NOTE: The example above is for SQL server. Trusted connections vary by Data Provider type.
-
Click OK.
-
Save your Data Source.
Update Permissions on the Service
Next, you need to update the service to run as the user. If the service is not updated, the connection does not update and errors will occur.
-
Open Windows Services.
-
Navigate to OneStream Smart Integration Connector Gateway. The service should be running.
-
Right-click and open Properties.
-
Click the Log On tab. Typically, this will default to the Local System account.
IMPORTANT: Before moving to the next step, ensure that you have the appropriate permissions and approvals from your IT Administrators to complete the Log On change. The service account used will require local Administrative rights to access resources on the Windows server, such as the machine certificate store and private keys used for encryption. This account will also require the appropriate permissions to access the database such as Microsoft SQL Server.
-
Change log on from Local System account to This account and enter your domain or login that has access to the data source. Depending on how your SSO is configured, your account could require your domain name, UserID, and password. Contact your IT Administrator if you have questions about your account domain.
-
Click Apply.
-
Click OK.
-
Right-click and select Restart to restart and update the service.
Test the Updated Integrated Connection String
You should test your connection through a Data Adapter query to verify your access to Smart Integration Connector. An alternate SQL Query to pulling the first 10-50 rows is sufficient. See Data Adapters Example.
Microsoft Entra Authentication for Azure SQL
The ability to use Microsoft Entra using service principal authentication to access Azure SQL is supported.
-
Open your OneStream Local Gateway Configuration.
-
Open a Local Gateway Connection.
-
Enter a Data Source Name of MicrosoftEntra.
-
Navigate to the Connection String and enter a connection string. Example: Server=demo.database.windows.net; Authentication=Active Directory Service Principal; Encrypt=True; Database=testdb; User Id=AppId; Password=|password|;
-
Enter your Connection String Password.
NOTE: For security purposes, we recommend using the Connection String Password field and the substitution variable to ensure the password is not shown on screen. However, you can also embed the password directly within your connection string. For example: Server = localhost;Port=3306;uid=root;pwd=my_password;database=gatewaymysql;.
-
Select MS Data SQL Provider as your Database Provider.
-
Click Test Connection to test the data source.
-
Click OK.
-
Click Save.
Restart OneStream Smart Integration Connector Gateway
After communication has been verified, the following Windows Service needs to run to maintain communication with the OneStream Cloud instance. By default, these services are set to start after a Windows reboot. You can also manually start them using the Windows Service control manager or the command line using the net start/net stop commands. If you are having issues restarting the service, see Troubleshooting.
-
Open the OneStream Local Gateway Configuration.
-
Click Tools > Restart OneStream Smart Integration Connector Gateway.
Load Balanced Local Gateway Servers
Install the Smart Integration Connector Local Gateway Server on separate Windows Servers to create a load-balanced environment. In a load balanced environment, consider the following:
-
Incoming connections are balanced between the available Local Gateway Servers.
-
Load balanced Local Gateway Servers do not support queries over 1 million rows or the use of Smart Integration Connector Functions that query for long running jobs. The support for these use cases will be included in a future release of Smart Integration Connector.
-
The first Local Gateway Server to establish a connection to the Relay is displayed in the Active Local Gateway Server Computer Name field in the Smart Integration Connector Admin setup.
-
The number of active gateways is displayed in the Instance Count field.
Create a Load Balanced Local Gateway Server
To create a redundant gateway server, you must set up Smart Integration Connector in this order:
-
On the first Windows Server, complete installation on the initial Local Gateway Server and verify all data connections transfer data.
-
On the second Windows Server in your environment, install the OneStream Smart Integration Connector Local Gateway Server (OneStreamSmartIntegrationConnectorGateway.msi).
NOTE: If you are using custom DLLs, SAP, or referenced DLLs, you must copy the existing Referenced Assemblies Folder. Locations must be in sync and in the same location on the primary server. See Smart Integration Connector Settings.
-
On the second server, perform the following steps:
-
Open the OneStream Local Gateway Configuration.
-
Go to Tools > Import Configuration from Primary Gateway Server.
-
Choose the location of the file and select Open.
CAUTION: You will overwrite the existing local gateway configuration. If you use Connection String Passwords, you will need to reenter a connection string password.
CAUTION: If you installed a custom database driver, you must install the customer database driver on the backup gateway server.
-
Click Local Gateway Connections > Data Sources.
-
Select a Data Source and the Connection String Passwords.
-
Select OK to provide a new Connection string.
-
Delete the encrypted text and replace it with a valid connection string from the primary server.
-
Select OK to encrypt the connection string and close the dialog box.
-
Repeat steps above for all the remaining data sources.
-
Click OK to close the Data Sources.
-
Click OK to close the Local Gateway Connections.
-
Click Save to save the Local Gateway Configuration.
-
Click Yes to restart the service.
-
Test the Smart Integration Connector Local Gateway Server in OneStream.
-
-
-
Verify the Instance Count is 2 when both the initial and second servers are running in the OneStream Windows application. The first Local Gateway Server to establish a connection to the Relay is displayed in the Active Local Gateway Server Computer Name field
Define Custom Database Connections in OneStream System Configuration Setup
Now that the gateway is set up and communicating with the Smart Integration Connector Gateway, the final step is to set up the location of the remote data source in OneStream. To continue adding the Custom Database Connection, you must assign a user to the ManageSystemConfiguration role.
-
Go to System > Administration > System Configuration.
-
Select Application Server Configuration > Database Server Connections.
-
Select Create Item to create a new Custom database server connection.
NOTE: If the only fields displayed are Name and External Database properties, verify that the current user is assigned to the ManageSystemConfiguration role.
-
Enter the Name of the Database Server Connection.
-
For Database Provider Type, select Gateway.
-
The Gateway Name drop-down menu will be populated with a list of configured Gateways. Select the Gateway.
-
After the Gateway is selected, the Data Source Name drop-down menu populates with a list of the Local Gateway Server Database Connections.
-
Select a Database Connection from the drop-down menu.
NOTE: If the remote data source is not displayed or the Gateway is offline, you can select Custom to allow the data source to be manually specified. It is advised to wait up to five minutes for the Gateway to populate first.
-
Click Save to complete the configuration.
-
Verify the custom database connection is under Custom.